Skip to content

Update permission system and permission wall to the new system - #289

Open
georgelgeback wants to merge 7 commits into
mainfrom
update-permission-system
Open

Update permission system and permission wall to the new system #289
georgelgeback wants to merge 7 commits into
mainfrom
update-permission-system

Conversation

@georgelgeback

@georgelgeback georgelgeback commented Apr 11, 2026

Copy link
Copy Markdown
Contributor

Fetches the current user's (or non-user's) permissions from the backend instead of using the JWT. The PR compiles without errors when the backend changes are used. Changes:

  • Use the new (improved!) getMyPermissions router from the backend instead of the unconventional JWT permission hack
  • New method for accessing permissions (usePermissions)
  • Adding loading skeleton to admin sidebar
  • Clear queryClient cache when logging out and in
  • Tiny unrelated and inconsequential bugfixes

Since the PR changes how Permission wall picks up permissions, it needs to be pushed to prod right after the corresponding backend fixes:

This comment was marked as resolved.

@georgelgeback
georgelgeback marked this pull request as ready for review July 26, 2026 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants